<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="box"></div>
    <div class="box1"></div>
</body>

</html>

<style>
    .box {
        background: red;
        height: 100px;
        width: 20px;
        margin-left: 100px;
    }

    .box1{
        width: 100px;
        height: 20px;
        background-color: red;
        position: absolute;
        top: 45px;
        left: 66px;
    }
</style>